﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace System.Models.Models
{
    /// <summary>
    /// 费用信息表
    /// </summary>
    [Table("T_Expense_Information")]
    public class ExpenseInformation:BaseEntity
    {
        /// <summary>
        /// 费用名称
        /// </summary>
        [Column(TypeName = "varchar"), StringLength(100)]
        public string ExpenseName { get; set; }
        /// <summary>
        /// 费用类型
        /// </summary>
        [Column(TypeName = "varchar"), StringLength(100)]
        public string ExpenseType { get; set; }
        /// <summary>
        /// 费用金额
        /// </summary>
        public double ExpenseNumber { get; set; }
        /// <summary>
        /// 费用状态 默认未支付
        /// </summary>
        public bool ExpenseState { get; set; } = false;
        /// <summary>
        /// 费用所属
        /// </summary>
        [Column(TypeName = "varchar"), StringLength(100)]
        public string ExpenseBelong { get; set; }

    }
}
